myproce:test.cpp
	g++ -o $@ $^

# 设置快捷查看进程信息指令
.PHONY:catPI
catPI:
	ps ajx | head -1 && ps ajx | grep myproce | grep -v grep

.PHONY:clean
clean:
	rm -r myproce
